﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CsplPractice
{
    class Program
    {
        static void Main(string[] args)
        {
            ClassA a = new ClassA();

            int pub = a.publicVar = 10;


            Console.WriteLine(pub);
            Console.WriteLine(a.Valuepri = 12);

            List<string> test = new List<string>() { "a", "b", "c", "d" };
            foreach (string item in test)
            {
                Console.WriteLine(test[1]);
            }
            Console.Read();
        }
    }
}
